<!--
 * @FilePath: Api_report_detail.vue
 * @@author: wjj
 * @Date: 2025-08-27 19:34:48
 * @@Description: new js file
-->
<template>
  <div>
    <iframe
      :src="flower_url"
      frameborder="0"
      style="width: 100%; height: 100vh"
    ></iframe>
  </div>
</template>
  
  <script lang='ts' setup >
import { ref, onMounted, onUnmounted, onBeforeUnmount } from 'vue'
import emmit from '@/utils/emitter'
import { useRoute, useRouter } from 'vue-router' //引入用户相关的小仓库
defineOptions({
  name: 'InterfaceCaseReportDetail1', //与路由名一致，可使用缓存
})
let flower_url = ref()
// 挂载完毕
onMounted(() => {
  flower_url.value = route.query.reportURL
})
onUnmounted(() => {
  emmit.emit('closeTab', 'InterfaceCaseReportDetail')
})
//监控数据
//watch(select, (newVal, oldVal) => {})
const route = useRoute()

console.log()
</script>
  <style scope lang='scss'>
</style>